package com.soo.hoo.core.service.impl;

import com.soo.hoo.core.service.IService;
import com.soo.hoo.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 通用服务接口实现
 * </p>
 *
 * @author 杨燚
 * @since 2022/3/17
 */
public class ServiceImpl<M extends BaseMapper<T>, T> implements IService<T> {


    @Autowired
    protected M baseMapper;

    @Override
    public BaseMapper<T> getBaseMapper() {
        return this.baseMapper;
    }

}
